class Arrow extends egret.DisplayObjectContainer{
    public arrowGold:egret.Bitmap;
    private arrowLine:egret.Bitmap;
    // private miner:egret.Bitmap;
    private texture:egret.Texture;
    private textureLine:egret.Texture;
    // private textMiner:egret.Texture;
    public constructor(name1:string , name2 : string) {
        super();       

        // this.miner = new egret.Bitmap();
        // this.textMiner = RES.getRes(name3);
        // this.miner.texture = this.textMiner;
        // this.miner.width = 150;
        // this.miner.height = 200;

        this.arrowLine = new egret.Bitmap();
        this.textureLine = RES.getRes(name2);
        this.arrowLine.texture = this.textureLine;
        this.arrowLine.width = 100;
        this.arrowLine.height = 20;
        this.arrowLine.fillMode = egret.BitmapFillMode.SCALE;

        this.arrowGold = new egret.Bitmap();
        this.texture = RES.getRes(name1);
        this.arrowGold.texture = this.texture;
        this.arrowGold.width = 100;
        this.arrowGold.height = 70;
        this.arrowGold.y = this.arrowLine.height;

        this.addChild(this.arrowGold);
        this.addChild(this.arrowLine);
        // this.addChild(this.miner);
    }
    
}